<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
  <head>
    
    <title>修改课程信息</title>

	<style type="text/css">
		div{
			margin-top: 15%;
			margin-bottom: 15%;
		}
	</style>
	
  </head>
  
  <body>
  		<%
  			String cid = request.getParameter("cid");
  			String cname = new String (request.getParameter("cname").getBytes("ISO-8859-1"),"utf-8");
  			String ctime = request.getParameter("ctime");
  			String credit = request.getParameter("credit");
  		 %>
  		 <div align="center">
  		<h2>修改课程信息</h2>
    	<form action="servlet/UpdateCourseServlet" method="post">
    		课程号：<input type="text" name="cid" value="<%=cid%>" ><br><br>
    		课程名：<input type="text" name="cname" value="<%=cname%>"><br><br>
    		学&nbsp;&nbsp;&nbsp;&nbsp;时：<input type="text" name="ctime" value="<%=ctime%>"><br><br>
    		学&nbsp;&nbsp;&nbsp;&nbsp;分：<input type="text" name="credit" value="<%=credit%>"><br><br>
    		<input type="hidden" name="id" value="<%=cid%>" >
    		<input type="submit" value="提交">
    	</form>
    	</div>
  </body>
</html>
